package messages;


/**
 * GiveUpMessage
 */
public class GiveUpMessage extends Message {

	public GiveUpMessage(int matchId) {
		super();
		
		this.matchId = matchId;
	}
	
	/**
	 * Returns the identifier of the match the user is giving up on.
	 * 
	 * @return The identifier of the match the user is giving up on.
	 */
	public int getMatchId() {
		return this.matchId;
	}
		
	private int matchId;	// The identifier of the match the user is giving up on.

	private static final long serialVersionUID = 1L;
}
